(function(){"use strict";BX.namespace("BX.rest.integration.list");BX.rest.integration.list={};BX.rest.integration.list.TileGridItem=function(t){BX.TileGrid.Item.apply(this,arguments);this.title=t.title;this.description=t.description;this.image=t.image;this.iconClass=t.iconClass;this.iconColor=t.iconColor;this.iconIBgColor=t.iconIBgColor;this.iconIClass=t.iconIClass;this.className=t.className;this.selected=t.selected;this.url=!!t.url?t.url:false;this.integrationCode=!!t.integrationCode?t.integrationCode:false;this.loadProcess=false;this.events={click:function(){BX.rest.integration.open(this.integrationCode,this.url)}.bind(this)}};BX.rest.integration.list.TileGridItem.prototype={__proto__:BX.TileGrid.Item.prototype,constructor:BX.TileGrid.Item,getContent:function(){return BX.create("div",{props:{className:"rest-integration-tile-item"+" "+(this.className?this.className:"")+" "+(this.selected?this.selected:"")},children:[BX.create("div",{props:{className:"rest-integration-tile-head"},children:[BX.create("div",{props:{className:"rest-integration-tile-img "+(this.iconClass?this.iconClass:"")},style:{backgroundImage:this.image?'url("'+this.image+'")':null,color:this.iconColor?this.iconColor:null},children:[BX.create("i",{style:{"background-color":this.iconIBgColor?this.iconIBgColor:null},props:{className:this.iconIClass?this.iconIClass:""}})]}),BX.create("div",{props:{className:"rest-integration-tile-title"},text:this.title?this.title:""})]}),BX.create("div",{props:{className:"rest-integration-tile-description"},text:this.description?this.description:""})],events:this.events})}}})();
//# sourceMappingURL=script.map.js